<!--{eval include TPLDIR.'/home/function/getdata.php';}-->

<!--{if $space['uid']}-->

<!--{eval $member_count = get_member_count($space['uid']);}-->
<!--{eval $member_profile = get_member_profile($space['uid']);}-->

<!--{eval loaducenter(); $uc_avatarflash = uc_avatar($_G['uid'], 'virtual', 0);}-->

<link rel="stylesheet" href="template/quater_2023_dji/home/css/home1.css?{VERHASH}">
<link rel="stylesheet" type="text/css" id="time_diy" href="template/quater_2023_dji/home/css/home2.css?{VERHASH}" />
<style id="diy_style">$space[spacecss]</style>
<style type="text/css">

@media (max-width: 820px) {
.mi_section { width: 92% !important; margin-bottom: 20px !important}
.tab1 li { margin-right: 28px !important}
.tab1 li:last-child { margin-right: 0 !important}
.bg_whole { width: 100% !important; height: 210px !important; min-height: 210px !important; background-size: auto 240px; background-position: left bottom}
.home_center_box { width: 100%; padding: 16px 4% !important; box-sizing: border-box}
.box .introduce { width: 70% !important}
.box .videoL { float: right !important; margin: 0 !important; width: 26% !important; height: auto !important; max-width: 26% !important}
.box .videoL img { width: 100% !important; height: auto}
.videoV .introduce .introduceTop { display: none}
.box .introduce { height: auto !important}
.box .userInfo { position: relative !important}
.h-info { margin: 0 4% !important}
.person_fans.z { margin: 0 4% !important}
.h-avatar { width: 80px !important; min-width: 80px !important; height: 80px !important}
#h-avatar {
    width: 80px;
    height: 80px;
    border-radius: 80px;
}
.h-avatar .avatar-cover { display: none}
.citem.c4 { margin-top: 5px !important}
.moodfm_input { width: 100% !important}
#moodfm textarea { width: 100% !important; height: 60px !important; box-sizing: border-box}
.com_head { width: 10% !important}
.conmment-info { width: 70% !important; margin: 0 0 0 2% !important}
.h-action { display: none}
.h-basic-spacing { width: 100% !important}
}
</style>
</div>
<div id="ct" class="bg_whole">
    <div class="h-inner">    
     <div class="h-user">
       <div class="h-info cl">
		<div class="h-avatar cl">
			<img src="{echo avatar($space['uid'],'middle',1);}" id="h-avatar">
            <!--{if $_G['uid'] == $space['uid']}-->
				<a href="home.php?mod=spacecp&ac=avatar" title="更换头像" class="avatar-cover">
					更换头像
				</a>
			<!--{/if}-->
		</div>
        <div class="cl" style="margin-top: 10px; margin-left: 20px; margin-right: 20px;">
         <div class="h-basic">
          <span id="h-name">{$space[username]}</span>
         </div>
         <div class="h-basic-spacing cl">
          <span style="float: left;">
          <!--{if $member_profile[bio]}-->$member_profile[bio]<!--{else}-->这个人很懒什么都没写<!--{/if}-->
          </span>
          <!--{if $_G['uid'] == $space['uid']}-->
				<a href="home.php?mod=spacecp&ac=profile&op=info" title="修改资料" class="change">
				</a>
		  <!--{/if}-->
         </div>
         
         <div class="citem c4 cl">
                                                            <span class="cj cj02  "></span>
                                                            <span class="cj cj07  "></span>
                                                            <span class="cj cj01  "></span>
                                                            <span class="cj cj03  "></span>
                                                            <span class="cj cj10  "></span>
                        </div>
         
        </div>
       </div>
     </div>
     <!--{if $_G['uid'] == $space['uid']}-->
	 <!--{else}-->
     <div class="h-action">
        <span class="h-f-btn h-follow">
           <!--{if !ckfollow($space['uid'])}-->
				<a id="followmod" onclick="showWindow(this.id, this.href, 'get', 0);" href="home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid=$space['uid']" title="关注">
					关注
				</a>
				<!--{else}-->
				<a id="followmod" onclick="showWindow(this.id, this.href, 'get', 0);" href="home.php?mod=spacecp&ac=follow&op=del&fuid=$space['uid']" title="已关注">
					已关注
				</a>
				<!--{/if}--></span>
                <a href="home.php?mod=spacecp&ac=pm&op=showmsg&handlekey=showmsg_$space['uid']&touid=$space['uid']&pmid=0&daterange=2" id="a_sendpm_$space['uid']" onclick="showWindow('showMsgBox', this.href, 'get', 0)" title="私信" class="h-f-btn h-message">
					发消息
				</a>
     </div>
     <!--{/if}-->
    </div>
    
    <div class="wp cl" style="position: absolute; width: 100%; bottom: 0; height: 74px; display: block; box-shadow: none; border-radius: 0; background: none;">
                <div class="person_fans z" style="margin: 0 0 0 30px; line-height: 74px;">
            <a target="_blank" class="fans">
                听众<span>
                    $member_count[follower]</span>个</a>
            <span class="liney">|</span>
            <a target="_blank">主题<span>
                    $member_count[threads]</span>篇</a>
            <span class="liney">|</span>
            <a target="_blank">金钱<span>$member_count[extcredits2]</span></a>
        </div>
      </div>
    
</div>
<div class="wp home_center_box cl" style="position: relative; min-height: 300px; width: 1152px; margin-top: 0; padding: 20px 30px; border: 0; border-radius: 0 0 10px 10px; background: #FFFFFF">
<div class="cl">
<div class="tab1 cl">
					<!--{hook/space_menu_extra}-->
					<ul>
						<li{if CURMODULE == 'follow' && $do =='view'} class="current homecate"{/if}><a href="home.php?mod=follow&uid=$space['uid']&do=view&from=space">首页</a></li>
						<!--{if $do =='following' || $do =='follower'}--><!--{/if}-->
                        <!--{if helper_access::check_module('forum')}-->
		<li{if $do=='thread'} class="current homecate"{/if}><a href="home.php?mod=space&uid=$space[uid]&do=thread&view=me&from=space">{lang topic}</a></li>
		<!--{/if}-->
						<!--{if helper_access::check_module('blog')}-->
						<li{if $do=='blog'} class="current homecate"{/if}><a href="home.php?mod=space&uid=$space['uid']&do=blog&view=me&from=space">{lang blog}</a></li>
						<!--{/if}-->
						<!--{if helper_access::check_module('album')}-->
						<li{if $do=='album'} class="current homecate"{/if}><a href="home.php?mod=space&uid=$space['uid']&do=album&view=me&from=space">{lang album}</a></li>
						<!--{/if}-->
						<!--{if helper_access::check_module('doing')}-->
						<li{if $do=='doing'} class="current homecate"{/if}><a href="home.php?mod=space&uid=$space['uid']&do=doing&view=me&from=space">{lang doing}</a></li>
						<!--{/if}-->
						<!--{if helper_access::check_module('home')}-->
						<li{if $do=='home'} class="current homecate"{/if}><a href="home.php?mod=space&uid=$space['uid']&do=home&view=me&from=space">{lang feed}</a></li>
						<!--{/if}-->
						<!--{if helper_access::check_module('wall')}-->
						<li{if $do=='wall'} class="current homecate"{/if}><a href="home.php?mod=space&uid=$space['uid']&do=wall&from=space">留言</a></li>
						<!--{/if}-->
						<li{if $do=='profile'} class="current homecate"{/if}><a href="home.php?mod=space&uid=$space['uid']&do=profile&from=space">资料</a></li>
					</ul>
				</div>
</div>
<!--{if helper_access::check_module('follow')}-->
<script type="text/javascript">
function succeedhandle_followmod(url, msg, values) {
	var fObj = $('followmod');
	if(values['type'] == 'add') {
		fObj.innerHTML = '{lang follow_del}';
		fObj.href = 'home.php?mod=spacecp&ac=follow&op=del&fuid='+values['fuid'];
	} else if(values['type'] == 'del') {
		fObj.innerHTML = '{lang follow_add}TA';
		fObj.href = 'home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid='+values['fuid'];
	}
}
</script>
<!--{/if}-->

<!--{/if}-->